﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace System.Models.Models
{
    /// <summary>
    /// 角色表  需要在set里设置初始值
    /// </summary>
    [Table("T_Department_Role")]
    public class DepartmentRole:BaseEntity
    {
        /// <summary>
        /// 角色名
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(100)]
        public string DepartmentRoleName { get; set; }
        
    }
}
